<%@ page language="java" pageEncoding="UTF-8"
	errorPage="../../defaultException.jsp"%>
<%@include file="../../tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加应用版本信息</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
	<form id="fm" method="post" enctype="multipart/form-data">

		<table class="fitem">
			<tr>
				<td><label>应用名称:</label></td>
				<td><input name="appName" required="true"
					class="easyui-validatebox" data-options="validType:'length[0,32]'" />
				</td>
			</tr>
			<tr>
				<td><label>版本号:</label></td>
				<td><input name="version" required="true" validType="numberbox"
					class="easyui-validatebox" /></td>
			</tr>
			<tr>
				<td><label>所属目的地:</label></td>
				<td><input id="parentId" name="destId" required="true" /></td>
			</tr>

		</table>
	</form>

	<script type="text/javascript">
		//初始化目的地信息
		$('#parentId').combobox({
			url : '${cpath }/admin/dest/listDestName',
			valueField : 'id',
			textField : 'name',
			editable : false
		});
	</script>

	<style type="text/css">
#fm {
	margin: 0;
	padding: 40px 40px;
}

.ftitle {
	font-size: 14px;
	font-weight: bold;
	padding: 5px 0;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

.fitem {
	margin-bottom: 5px;
}

.fitem label {
	display: inline-block;
	width: 90px;
}
</style>
</body>
</html>